package com.bz.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("system_menu")
public class MenuEntity extends BaseDto {
    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    /**
     * 菜单父ID
     */
    @TableField("p_id")
    private String            pid;

    /**
     * 菜单名
     */
    @TableField("name")
    private String            name;

    /**
     * 图标
     */
    @TableField("icon")
    private String            icon;

    /**
     * 层级
     */
    @TableField("level")
    private String            level;

    /**
     * URL
     */
    @TableField("url")
    private String            url;

    /**
     * 是否显示到header
     */
    @TableField("is_top")
    private String            isTop;

    /**
     * 排序
     */
    @TableField("sort")
    private int               sort;

}
